home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / sys / cbm / 4178 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.6 KB

  1. Path: news.mtu.edu!not-for-mail
  2. From: jponge@mtu.edu (Joshua P. Onge)
  3. Newsgroups: comp.sys.cbm,comp.os.misc,alt.comp.hardware.homebuilt,comp.sys.apple2,comp.sys.apple2.programmer,comp.sys.atari.8bit
  4. Subject: Re: 6502 Multitasking OS announce
  5. Followup-To: comp.sys.cbm,comp.os.misc,alt.comp.hardware.homebuilt,comp.sys.apple2,comp.sys.apple2.programmer,comp.sys.atari.8bit
  6. Date: 18 Mar 1996 10:38:07 -0500
  7. Organization: Michigan Technological University
  8. Message-ID: <4ik00v$9r@fishlab7.fsh.mtu.edu>
  9. References: <4i94fs$stj@narses.hrz.tu-chemnitz.de> <holger.948.00030EE6@deep.hb.provi.de> <4ijtbe$7ca@no-names.nerdc.ufl.edu> <4ijuic$iiq@gatekeeper.liffe.com>
  10. NNTP-Posting-Host: fishlab7.fsh.mtu.edu
  11. X-Newsreader: TIN [version 1.2 PL2]
  12.  
  13. Ralph Mason (ralph.mason@liffe.com) wrote:
  14. : Michael Ellis <michael@anest4.anest.ufl.edu> wrote:
  15.  
  16. : >holger@deep.hb.provi.de (Holger Bruns) wrote:
  17.  
  18. : >>An operating system for the 6502 should have some of the properties of CPM. 
  19. : >>Parameters could be passed into registers and some zeropage locations. 
  20.  
  21. : >   The way to get around this is to pass all parameters on the stack, and use separate
  22. : >   stacks for the separate tasks.
  23.  
  24.  
  25. : All well & good BUT the 6502 does not have a relocatable stack pointer
  26. : so your kinda left with a bit of a problem when it commes to
  27. : multitasking, ie you cant give each process it's own stack without
  28. : copying the whole stack ( maybe just to the current sp value? )during
  29. : each context switch. 
  30.  
  31. I believe that, from reading Andre's webpage on his OS, the operating
  32. system saves registers, to keep each program in it's own little world. You
  33. should read his description, it's quite ineresting.
  34.  
  35. josh
  36.